package com.example.automanagement.mapper;

import com.example.automanagement.entity.Bill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BillMapper {
    List<Bill> pageList(String userId);

    void addBill(Bill bill);
    @Select("select * from bill where bill_id = #{billId}")
    Bill getBillById(String billId);
}
